package org.usts.trainning.supermarket.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class ProCommand {
	public String findAllPro(HttpServletRequest request, HttpServletResponse response) {
		ProContribute contribute = new ProContribute();
		return contribute.getAllBill(request, response);
	}

	public String findProById(HttpServletRequest request, HttpServletResponse response) {
		ProContribute contribute = new ProContribute();
		return contribute.findProById(request, response);
	}

	public String updateProById(HttpServletRequest request, HttpServletResponse response) {
		ProContribute contribute = new ProContribute();
		return contribute.updateProById(request, response);
	}

	public String modifyProById(HttpServletRequest request, HttpServletResponse response) {
		ProContribute contribute = new ProContribute();
		return contribute.modifyProById(request, response);
	}

	public String deleteProById(HttpServletRequest request, HttpServletResponse response) {
		ProContribute contribute = new ProContribute();
		return contribute.deleteProById(request, response);
	}

	public String addPro(HttpServletRequest request, HttpServletResponse response) {
		ProContribute contribute = new ProContribute();
		return contribute.addPro(request, response);
	}

	public String searchPro(HttpServletRequest request, HttpServletResponse response) {
		ProContribute contribute = new ProContribute();
		return contribute.searchPro(request, response);
	}
}
